package com.coin900.coin.persist.coin;

import com.coin900.coin.persist.FuVO;

/**
 * 币
 *
 * @author shui
 * @create 2018-1-23
 */
public class CoinCoinVO extends FuVO {

    /**
     * 1虚拟币 2代币
     */
    private Integer type;

    /**
     * 币种精度
     */
    private Integer accuracy;

    /**
     * 是否支持用于购买代币 0不支持 1支持
     */
    private Integer payforTokenStatus;

    /**
     * 是否发行 0未发行 1已发行
     */
    private Integer releaseStatus;

    /**
     * 是否在钱包中显示 0不显示 1显示
     */
    private Integer showInWalletStatus;

    /**
     * 币的简称
     */
    private String coinName;

    /***** 非持久化数据 START *****/

    /**
     * 比例
     */
    private Double proportion;

    /***** 非持久化数据 END *****/

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPayforTokenStatus() {
        return payforTokenStatus;
    }

    public void setPayforTokenStatus(Integer payforTokenStatus) {
        this.payforTokenStatus = payforTokenStatus;
    }

    public Integer getReleaseStatus() {
        return releaseStatus;
    }

    public void setReleaseStatus(Integer releaseStatus) {
        this.releaseStatus = releaseStatus;
    }

    public Integer getShowInWalletStatus() {
        return showInWalletStatus;
    }

    public void setShowInWalletStatus(Integer showInWalletStatus) {
        this.showInWalletStatus = showInWalletStatus;
    }

    public String getCoinName() {
        return coinName;
    }

    public void setCoinName(String coinName) {
        this.coinName = coinName;
    }

    public Double getProportion() {
        return proportion;
    }

    public void setProportion(Double proportion) {
        this.proportion = proportion;
    }

    public Integer getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Integer accuracy) {
        this.accuracy = accuracy;
    }

    @Override
    public String toString() {
        return super.toString() +
                "CoinCoinVO{" +
                "type=" + type +
                ", payforTokenStatus=" + payforTokenStatus +
                ", releaseStatus=" + releaseStatus +
                ", showInWalletStatus=" + showInWalletStatus +
                ", coinName=" + coinName +
                ", proportion=" + proportion +
                ", accuracy=" + accuracy +
                '}';
    }
}